<%@ page import="java.util.Random"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//Dth HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dth">
<html>
<head>
<title>会员登录</title>
</head>
<body>
<div class="container" style="min-height: 430px;">
	<div class="jumbotron row">
		<div class="col-sm-5 blog-main">
			<img alt="欢迎来到DONDI BUY" src="${ctx}/resources/images/login-one.jpg">
		</div>
		<div class="col-sm-6 col-sm-offset-1 blog-sidebar">
			<div class="modal-content">
				<div class="modal-header">
					<img alt="用户登录" src="${ctx}/resources/images/login-two.jpg">
				</div>
				<div class="modal-body">
					<form class="form-horizontal" method="post">
						<div class="form-group">
				        	<label for="username" class="col-sm-3 control-label" style="font-size:12px;">用户名：</label>
				          	<div class="col-sm-8">
				            	<input id="username" name="username" type="text" class="form-control" placeholder="请输入用户名...">
				          	</div>
				        </div>
				        <div class="form-group">
				        	<label for="password" class="col-sm-3 control-label" style="font-size:12px;">密码：</label>
				          	<div class="col-sm-8">
				            	<input id="password" name="password" type="password" class="form-control" placeholder="请输入密码...">
				          	</div>
				        </div>
				        <c:if test="${login_error != null && login_error != ''}">
				        <!-- 错误信息begin -->
				        <div class="form-group">
				        	<label for="password" class="col-sm-3 control-label"></label>
				        	<div class="col-sm-8" style="font-size:12px;color:red;">
				        		${login_error}
				        	</div>
				        </div>
				        <!-- 错误信息end -->
				        </c:if>
				        <div class="form-group">
					        <label for="password" class="col-sm-3 control-label"></label>
				          	<div class="col-sm-8" style="text-align: right;font-size:12px;">
				          		<a href="${ctx}/member/register" style="color:#428bca;">注册</a>
					        	<a href="${ctx}/member/forget" style="color:#f28010;">忘记密码?</a>
					        	&nbsp;&nbsp;&nbsp;
					        	<button type="submit" class="btn btn-danger" style="width:100px;font-weight:bold;">登录</button>
				        		<button type="reset" class="btn btn-default">重置</button>
				          	</div>
				        </div>
			        </form>
				</div>
			</div>
		</div>
    </div>
</div>
</body>
</html>